@import'../../scss/colors.scss';
@import'../../scss/generate.scss';
.main-container{
    background-color: $mainColor;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    bottom: 0px;
    display: flex;
    flex-wrap: nowrap;
    .container{
        width: 100%;
        flex: 1;
        border-right: 1px solid #4d4b4b;
        position: relative;
        &:last-child{
            border-right: 1px solid transparent;
        }
    }
}
.tabs{
    display: flex;
    flex-wrap: nowrap;
    li{
        cursor: pointer;
        display: block;
        flex: 1;
        max-width: 200px;
        color: $mainFontColor;
        line-height: 30px;
        @include FontOut;
        background-color: $normalColor;
        position: relative;
        text-indent: 24px;
        &::before{
            content: '';
            display: block;
            position: absolute;
            height: 6px;
            width: 6px;
            border-radius: 50%;
            top: 12px;
            left: 12px;
            background-color: $normalStatus;
        }
    }
    .active{
        background-color: $activeBgColor;
        color: $activeFontColor;
        &::before{
            background-color: $activeStatus;
        }
    }
}
.active-tree{
    position: absolute;
    top: 30px;
    width: 100%;
    right:0px;
    left: 0px;
    bottom: 0px;
    background-color: $mainColor;
    .active-path{
        // background-color: $normalColor;
        height: 30px;
        line-height: 30px;
        color: $mainFontColor;
    }
    .content{
        top: 30px;
        width: 100%;
        right:0px;
        left: 0px;
        bottom: 0px;
        position: absolute;
        @include ScrollBar;
        padding: 20px 20px;
    }
}
$branchColor: #23df81;
.item{
    position: relative;
    &::before{
        content: '';
        display: block;
        width: 2px;
        position: absolute;
        top: 20px;
        left: 5px;
        background-color: $branchColor;
        bottom: 10px;
    }
    .current{
        &:hover{
            .operate{
                display: inline-block;
            }
        }
        .info{
            display: inline-block;
            vertical-align: top;
            position: relative;
            color: #e5e5e5;
            &::before{
                content: '';
                border-top: 1px solid $branchColor;
                width: 15px;
                height: 2px;
                background-color: $branchColor;
                position: relative;
                left: -15px;
                display: block;
                top: 12px;
            }
        }
        .operate{
            display: none;
            vertical-align: top;
            .op-item{
                margin: 0px 3px;
                cursor: pointer;
                color: $mainFontColor;
            }
        }
    }
    .children {
        padding-left: 20px;
    }
}